//
//  ViewBusinessPosterButton.m
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/3/29.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "ViewBusinessPosterButton.h"
#import "XXTool.h"

@implementation ViewBusinessPosterButton

-(instancetype)init
{
    self = [super init];
    if (self)
    {
        self.layer.borderWidth = 1.8f;
        self.layer.cornerRadius = 20;
        self.layer.borderColor = [XXTool colorWithProject].CGColor;
        self.font = [XXTool systemFontOfSize:16.5f];
        self.text = NSLocalizedString(@"展商宣传资料", nil);
        [self setColor:[UIColor whiteColor] ForState:DKButtonStateNormal];
        self.textColor = self.textColor = [XXTool colorWithProject];;
    }
    return self;
}

-(void)setPosterButtonText:(NSString *)text
{
    self.text = text;
}

@end
